<style>
    .ng-invalid-pattern {
        border: 1px solid #f00;
    }
</style>

<div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3">拉米管理</h1>
</div>
<div class="wrapper-md" ng-controller="ramyCtrl">
    <div class="panel panel-default">
        <div class="panel-heading font-bold">查询</div>
        <!--<div class="panel-body">-->
            <div class="form-horizontal panel-body">
                <div class="form-group">

                    <label class="control-label pull-left col-md-1">车牌号</label>
                    <div class="col-md-2 ">
                        <!--ng-pattern="/^[\u4e00-\u9fa5]{1}[a-zA-Z]{1}[a-zA-Z_0-9]{5}$/"-->
                        <input type="text" class="form-control" id="carCode" ng-model="queryParameter.Carcode" placeholder="请输入车牌号" name="carCode">
                    </div>
                    <label class="control-label pull-left  col-md-1">司机姓名</label>
                    <div class="col-md-2 ">
                        <input type="text" class="form-control" id="driverName" ng-model="queryParameter.DriverName" placeholder="请输入司机姓名">
                    </div>
                    <label class="control-label pull-left  col-md-1">手机号码</label>
                    <div class="col-md-2 ">
                        <input type="text" class="form-control" id="phoneNumber" ng-model="queryParameter.PhoneNumber" placeholder="请输入手机号码">
                    </div>

                    <label class="control-label pull-left  col-md-1"></label>
                    <div class="col-md-2 ">
                    
                    </div>
                </div>
                
                <div class="form-group">
                    <label class="control-label pull-left  col-md-1">拉米积分</label>
                    <div class="col-md-1 ">
                        
                        <input type="text" class="form-control" id="minRamyPoint" ng-model="queryParameter.MinRamyPoint" placeholder="请输入最小值">
      
                    </div>

                     <label class="control-label pull-left m-l-n-sm m-r-n-xs">—</label>
                    <div class="col-md-1 ">
                        <input type="text" class="form-control" id="maxRamyPoint" ng-model="queryParameter.MaxRamyPoint" placeholder="请输入最大值">
                        
                    </div>
                    <label class="control-label pull-left  col-md-1"></label>
                    <div class="col-md-2 ">
                    
                    </div>
                   



                    
                    <label class="control-label pull-left  col-md-1"></label>
                    <div class="col-md-2 ">
                        <button ng-click="queryUsers()" class="btn btn-sm btn-default btn-addon" ng-class="{'disabled':seeks}" ng-disabled="seeks">
                            <i class="fa fa-search" ng-show="!seeks"></i>
                            <i ng-show="seeks">
                                <b class="fa fa-spinner no-bordr"  ng-class="{'fa-spin':seeks}"></b>
                            </i>
                            <span ng-show="!seeks">查询</span>
                            <span ng-show="seeks">查询中...</span>
                        </button>
                    </div>
                </div>
            </div>
        
            
        <!--</div>-->
    </div>
    <div class="panel panel-default">
        <div class="panel-heading">
            司机列表
        </div>
        <div class="table-responsive">
            <div ui-grid="ramyList" ui-grid-pagination ui-grid-auto-resize ui-grid-resize-columns style="height:{{( gridOptions.data.length *30)+95}}px;min-height:395px;
overflow:hidden; min-width:1000px;">
                <div class="watermark" ng-if="!ramyList.data.length">暂无数据<i class="fa fa-spinner no-bordr" ng-show="seeks" ng-class="{'fa-spin':seeks}"></i></div>
            </div>
        </div>
    </div>
    <div class="panel-body">
        <button id="Ramy_excel" ng-click="skipExport()" class="pull-right-xs btn m-b-xs btn-sm btn-success btn-addon "><i class="fa fa-bar-chart-o"></i>导出报表</button>
    </div>


    <!-- 查看备注对话框 -->
    <div class="modal fade " id="quoteModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static">
        <div class="modal-dialog" role="document" >
            <div class="modal-content modal-lg">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true" id="closeModal">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">拉米积分明细</h4>
                </div>
                <div class="panel panel-default">
                    <div class="panel-heading">
                        当前拉米积分
                    </div>
                    <div class="table-responsive">
                        <div ui-grid="ramyPointList"  ui-grid-pagination ui-grid-auto-resize ui-grid-resize-columns style="height:{{( gridOptions.data.length *30)+95}}px;min-height:395px;
            overflow:hidden; min-width:750px;">
                            <div class="watermark" ng-if="!ramyPointList.data.length">暂无数据<i class="fa fa-spinner no-bordr" ng-show="seeks" ng-class="{'fa-spin':seeks}"></i></div>
                        </div>
                    </div>
                  
                </div>
                <div class="modal-footer">
                        <button id="cancelModal" type="button" class="btn btn-default" data-dismiss="modal" >取消</button>
                      
                </div>
                
            </div>
        </div>
    </div>

    
</div>